package com.kangaroo.myhome.mapper;

import com.kangaroo.myhome.model.CommonSearch;
import com.kangaroo.myhome.model.TInspProjectVideo;
import com.kangaroo.myhome.model.TInspProjectVideoExample;
import java.util.List;

import org.apache.ibatis.annotations.Param;

public interface TInspProjectVideoMapper {

    List<TInspProjectVideo> selectByPagination(CommonSearch commonSearch);

    long selectByPaginationCount(CommonSearch commonSearch);

    long countByExample(TInspProjectVideoExample example);

    int deleteByExample(TInspProjectVideoExample example);

    int deleteByPrimaryKey(String id);

    int insert(TInspProjectVideo record);

    int insertSelective(TInspProjectVideo record);

    List<TInspProjectVideo> selectByExample(TInspProjectVideoExample example);

    TInspProjectVideo selectByPrimaryKey(String id);

    int updateByExampleSelective(@Param("record") TInspProjectVideo record, @Param("example") TInspProjectVideoExample example);

    int updateByExample(@Param("record") TInspProjectVideo record, @Param("example") TInspProjectVideoExample example);

    int updateByPrimaryKeySelective(TInspProjectVideo record);

    int updateByPrimaryKey(TInspProjectVideo record);
}